The simulation model of pmsm close - loop control system is presented based on pwm inverter model and switching vector table model set up by the author and pmsm model in matlab . the model is proved correct from the simulation result 然后在自行构造逆变器,开关电压矢量表等模块的基础上,利用matlab中的永磁同步电机模型,实现了永磁同步电机闭环控制系统的仿真模型,仿真结果验证了方案的正确性。